package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试卷考题表对象 paper_subject
 * 
 * @author ruoyi
 * @date 2022-11-20
 */
public class PaperSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考卷id */
    @Excel(name = "考卷id")
    private Long paperId;

    /** 考题id */
    @Excel(name = "考题id")
    private Long subjectId;

    /** 考题序号 */
    @Excel(name = "考题序号")
    private String subjectNow;

    public void setPaperId(Long paperId) 
    {
        this.paperId = paperId;
    }

    public Long getPaperId() 
    {
        return paperId;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setSubjectNow(String subjectNow) 
    {
        this.subjectNow = subjectNow;
    }

    public String getSubjectNow() 
    {
        return subjectNow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paperId", getPaperId())
            .append("subjectId", getSubjectId())
            .append("subjectNow", getSubjectNow())
            .toString();
    }
}
